package com.xiaobai.spike.model.request;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;

@Data
@Valid
public class AuthRequest {
    @NotBlank
    private String redirect_uri;
    @NotBlank
    private String response_type = "code";
    @NotBlank
    private String client_id;
    @NotBlank
    private String state;
    @NotBlank
    private String username;
    @NotBlank
    private String password;
}
